package com.xiaoq.sites.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.xiaoq.sites.entity.BannerEntity;
import com.xiaoq.sites.repository.IBannerRepository;
import com.xiaoq.sites.service.IBannerService;

@Component
public class BannerServiceImpl implements IBannerService {
	
	@Autowired
	private IBannerRepository bannerRep;

	@Override
	public List<BannerEntity> findBannerList(String channelCode,String cityCode) {
		
		return bannerRep.findBannerList(channelCode,cityCode);
	}

}
